//
//  ColorResdMode.m
//  CarTown
//
//  Created by xionghao on 15/9/7.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "ColorResdMode.h"
#import "ColorModel.h"
#import <MJExtension.h>

@implementation ColorResdMode
+(instancetype)resdWithDict:(NSDictionary *)dict{
    
    [ColorResdMode setupObjectClassInArray:^NSDictionary *{
        return @{
                 @"data" : @"ColorModel"
                 };
    }];
    
    [ColorModel setupReplacedKeyFromPropertyName:^NSDictionary *{
        return @{
                 @"cid" : @"id"
                 };
    }];
    
  return [ColorResdMode objectWithKeyValues:dict];
}
@end
